<template>
  <div id="app">
    <router-view />
    <Footer v-if="tabType" />
  </div>
</template> 
<script>
import Footer from "@/components/wx/footer.vue"
// Vue.component("Footer",Footer)
export default ({
    components:{
      Footer
    },
    data(){
      return{
        tabtype:true
      }
    },
    created(){
      let e=this.$route
      if(e.name=='Home'||e.name=='Me'||e.name=='Order'||e.name=='Re'){
           this.tabType=true
        }else{
            this.tabType=false
        }
      }
})
</script>

<style>
* {
  margin: 0;
  padding: 0;
}
html {
  font-size: 13.335vw;
}
body {
  font-size: 0.16rem;
}
</style>
